/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package mouseident;

/**
 *
 * @author matze
 */
public class Event {

    public static final int MOVEMENT_TYPE = 1001;
    public static final int CLICK_TYPE = 1002;
    public static final int FINISH_TYPE = 1003;

    int type = 0;
    long when = 0;
    int x = 0;
    int y = 0;

    long deltaT = 0;
    long distance = 0;

    public Event(int Type, long When, int X, int Y) {
        type = Type;
        when = When;
        x = X;
        y = Y;
    }

    public Event() {
        
    }

    public int getType() {
        return type;
    }

    public void setType(int NewType) {
        type = NewType;
    }

    public long getWhen() {
        return when;

    }

    public void setWhen(long NewWhen) {
        when = NewWhen;
    }

    public int getX() {
        return x;
    }

    public void setX(int NewX) {
        x = NewX;
    }

    public int getY() {
        return y;
    }

    public void setY(int NewY) {
        y = NewY;
    }

    public long getDeltaT() {
        return deltaT;
    }

    public void setDeltaT(long DeltaT) {
        deltaT = DeltaT;
    }

    public long getDistance() {
        return distance;
    }

    public void setDistance(long Distance) {
        distance = Distance;
    }
    

}
